package org.one.afternoon.service;

import org.one.afternoon.domain.EdgeData;
import org.one.afternoon.domain.dto.Result2BackDto;
import org.one.afternoon.domain.dto.Swim2BackDto;
import org.one.afternoon.domain.dto.SwimmingDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

public interface EdgeService {

    void uploadBucket(InputStream inputStream, String name, String type);

    void saveImage(String path, String lat, String lon);

    String getFileUrl(String filename);

    List<EdgeData> findNewImage();

    Result2BackDto pushImage(Swim2BackDto swim2BackDto);

    boolean updateStatus(int id);

    SwimmingDto detectObject(String ip,String path);
}
